<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>编辑项目</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <link rel="icon" type="image/x-icon" href="/cctv/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/cctv/css/sitework/update.css"/>
    <script type="text/javascript" src="/cctv/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/cctv/js/laydate/laydate.js"></script>
    <script type="text/javascript" src="/cctv/js/sitework/update.js"></script>
</head>
<body>
<div id="menu"><input type="button" value="Back"/></div>
<form id="form1" action="update" method="post">
    <input type="hidden" name="id" th:value="${project.id}"/>
    <input type="hidden" name="state" th:value="${project.state}"/>
    <input type="hidden" name="commit" th:value="${project.commit}"/>
    <table id="table1">
        <colgroup>
            <col width="30%"/>
            <col width="70%"/>
        </colgroup>
        <tr>
            <td align="right"><a>*</a>Project No：</td>
            <td><input type="text" name="name" th:value="${project.name}" placeholder="Please enter the Project No"/></td>
        </tr>
        <tr>
            <td align="right"><a>*</a>Company Name：</td>
            <td><input type="text" name="client" th:value="${project.client}"/></td>
        </tr>
        <tr>
            <td align="right"><a>*</a>Slope：</td>
            <td>
                <select name="slope" th:filed="${project.slope}">
                    <option value="N">N</option>
                    <option value="Y">Y</option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="right"><a>*</a>Standard：</td>
            <td><input type="text" name="standard" th:value="${project.standard}" readonly="readonly" style="background-color: #CCC"/></td>
        </tr>
        <tr>
            <td align="right"><a>*</a>Operator：</td>
            <td>
                <select name="operator" th:filed="${project.operator}">
                    <option th:each="name:${names}" th:text="${name}"></option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="right"><a>*</a>Date：</td>
            <td><input type="text" name="date" th:value="${project.date}"/></td>
        </tr>
        <tr>
            <td align="right"></td>
            <td><input type="button" id="combtn" value="Comfirm"/></td>
        </tr>
    </table>
</form>
</body>
</html>
